PROJECTENGRAM

[HO] RULES OF INFERENCE

Rules of Inference

Tags: #◇Problem Solving #◇Logic #◇Inference #◇CCDSTRU #◇M8


◇Important Formulas

An argument in propositional logic is a sequence of propositions where all but the last are premises, and the final proposition is the conclusion. An argument is valid if the truth of all premises implies that the conclusion is true.

Standard Rules of Inference

Rule of InferenceName
pp
qq
∴p∧q\therefore p \land q
Conjunction
pp
∴p∨q\therefore p \lor q
Addition
p∧qp \land q
∴p\therefore p
Simplification
p∨qp \lor q
¬p∨r\neg p \lor r
∴q∨r\therefore q \lor r
Resolution
p→qp \rightarrow q
q→rq \rightarrow r
∴p→r\therefore p \rightarrow r
Hypothetical Syllogism
p∨qp \lor q
¬p\neg p
∴q\therefore q
Disjunctive Syllogism
pp
p→qp \rightarrow q
∴q\therefore q
Modus Ponens
¬q\neg q
p→qp \rightarrow q
∴¬p\therefore \neg p
Modus Tollens

Rules of Inference for Quantified Statements

Let c∈Uc \in U (the universe of discourse).

RuleDescription
Universal Instantiation∀xP(x)  ⟹  ∴P(c)\forall x P(x) \implies \therefore P(c)
Universal GeneralizationP(c)P(c) for an arbitrary c  ⟹  ∴∀xP(x)c \implies \therefore \forall x P(x)
Existential Instantiation∃xP(x)  ⟹  ∴P(c)\exists x P(x) \implies \therefore P(c) for some element cc
Existential GeneralizationP(c)P(c) for some element c  ⟹  ∴∃xP(x)c \implies \therefore \exists x P(x)

[!warning] Order of Instantiation
When dealing with multiple quantified statements, if applicable, use Existential Instantiation before Universal Instantiation to avoid inadvertently restricting the universe.

◇Worked Examples

Example 1: Using Propositional Logic
Given:

  1. ¬s∧c\neg s \land c
  2. w→sw \rightarrow s
  3. ¬w→t\neg w \rightarrow t
  4. t→ht \rightarrow h

Goal: Prove hh Step 5: ¬s\neg s (Simplification from 1) Step 6: ¬w\neg w (Modus Tollens on 5 and 2) Step 7: ¬w→h\neg w \rightarrow h (Hypothetical Syllogism on 3 and 4) Step 8: hh (Modus Ponens on 6 and 7)

Example 2: Using Quantified Logic
Given:

  1. ∀x(C(x)→A(x))\forall x(C(x) \rightarrow A(x)) (Everyone in this class has taken CCSALGE)
  2. C(Tomy)C(\text{Tomy}) (Tomy is a student in this class)

Goal: Prove A(Tomy)A(\text{Tomy}) Step 3: C(Tomy)→A(Tomy)C(\text{Tomy}) \rightarrow A(\text{Tomy}) (Universal Instantiation on 1, substituting xx with Tomy) Step 4: A(Tomy)A(\text{Tomy}) (Modus Ponens on 2 and 3)

◇References & Navigation